Miles Sound System SDK 7.2a

Q:

I can't get Miles to play an MP3, XMA, or Ogg Vorbis file - what's going on?

A:

If you can't play an MP3, Ogg Vorbis, or similar file, try these troubleshooting questions:

1) Did you copy all the redistribution files into a directory available to your application? Are they up to date with the version of Miles that you're using?

2) On Win32, Win64, MacOS and Linux, did you call AIL_set_redist_directory to tell Miles where this directory is? This directory is relative to the location of the Miles library file, so if you are using a relative path - make sure it is relative to the right directory!

2) On platforms that don't support x86 (Win32) DLLs, did you call Register_RIB(MP3Dec) to tell Miles to load the MP3 decoder, Register_RIB(OggDec) to load the Ogg Vorbis decoder, or Register_RIB(XMADec) to load the Xbox 360 XMA decoder?

3) Are you using AIL_set_named_sample_file to tell Miles what type of data it is?

4) Did you sign the license agreements for MP3 and/or Ogg Vorbis decoding? This is a separate license addendum that your company might have chosen not to sign. Look for the ASI codec library files (*.ASI in Win32 and Win64) in the redistribution directory - are they present?

5) Is the file in question a true MP3 file? Miles doesn't play MPEG Layer 1 or MPEG Layer 2 files which are often mistakenly labeled MP3 files. Try recompressing the file yourself just to be sure.

Next Topic (How can I lower the CPU hit of playing an MP3 file?)

Previous Topic (What MP3 encoder should I use?)


Group: FAQs and How Tos
Related Functions: AIL_set_named_sample_file, AIL_set_redist_directory

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.